package com.ruoyi.web.service;

import java.util.Date;
import java.util.List;

import com.ruoyi.web.domain.MesInventoryDetail;
import com.ruoyi.web.domain.MesInventoryInfo;
import com.ruoyi.web.domain.vo.InventoryVo;
import com.ruoyi.web.domain.vo.MesInventoryInfoVo;
import com.ruoyi.web.domain.vo.StatVo;

/**
 * 盘点Service接口
 * 
 * @author wxt
 * @date 2024-01-24
 */
public interface IMesInventoryInfoService 
{
    /**
     * 查询盘点
     * 
     * @param id 盘点主键
     * @return 盘点
     */
    public MesInventoryInfo selectMesInventoryInfoById(Long id);

    /**
     * 查询盘点列表
     * 
     * @param mesInventoryInfo 盘点
     * @return 盘点集合
     */
    public List<MesInventoryInfo> selectMesInventoryInfoList(MesInventoryInfo mesInventoryInfo);
    public List<MesInventoryInfoVo> selectMesInventoryDetailList(MesInventoryInfo mesInventoryInfo);
    //月份盘点仓库
    public List<InventoryVo> selectMesDetaillist(MesInventoryInfo mesInventoryInfo);

    public Date selectRecently(String machineId);

    public List<InventoryVo> selectDayInventory(MesInventoryInfo mesInventoryInfo);

    /**
     * 新增盘点
     * 
     * @param mesInventoryInfo 盘点
     * @return 结果
     */
    public int insertMesInventoryInfo(MesInventoryInfo mesInventoryInfo);

    /**
     * 修改盘点
     * 
     * @param mesInventoryInfo 盘点
     * @return 结果
     */
    public int updateMesInventoryInfo(MesInventoryInfo mesInventoryInfo);

    /**
     * 批量删除盘点
     * 
     * @param ids 需要删除的盘点主键集合
     * @return 结果
     */
    public int deleteMesInventoryInfoByIds(Long[] ids);

    /**
     * 删除盘点信息
     * 
     * @param id 盘点主键
     * @return 结果
     */
    public int deleteMesInventoryInfoById(Long id);


   public List<StatVo> warehousestat(MesInventoryInfo Inventory);
    public List<StatVo> cuttingGroupsStat(MesInventoryInfo Inventory);
    public List<StatVo> machinestat(MesInventoryInfo Inventory);

    public List<StatVo>  wareMachineByPaper(MesInventoryInfo Inventory);

}
